<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>

<body>
<?php
require_once("../conn/conn_db.php");
if($_GET["r_id"] !="" )
{
  $rid = $_GET["r_id"];
   $str ="select * from recruit_info where r_id=".$rid ;
   $result= $conn->query($str);
   if ($result->num_rows) {
        $row = $result->fetch_assoc();
?>
<form action="action/file_upload_do.php" method="post"  enctype="multipart/form-data">
<table >

  <tr>
     <td><?php echo $row['r_name'] ?></td>
  </tr>
  
  <tr>
  <td>	
<input type="file" name="txt_file" />
<input type="hidden" name="txt_id" value="<?php echo $row['r_id']; ?>"/>
<input type="submit" value="上传" />
  </td>
  </tr>

</table>
</form>

<?php 
}
}
 else 
 {
   echo "<script>alert('请选择要编辑的管理员信息！');self.location='file_manager.php'</script>";     
 }
?>
	

</body>
</html>